<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header"/>
</head>
<body>
<!-- layui-container 固定列宽，layui-fluid 不固定列宽，而是100% -->
<div class="layui-fluid">
    <form class="layui-form layui-row layui-col-space16">
        <div class="layui-col-xs3">
            <div class="layui-form-item">
                <label class="layui-form-label">编号</label>
                <div class="layui-input-block">
                    <input type="text" name="code" class="layui-input" lay-affix="clear">
                </div>
            </div>
        </div>
        <div class="layui-btn-container layui-col-xs12">
            <button class="layui-btn" lay-submit lay-filter="id_search">搜索</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </form>
    <table class="layui-hide" id="templateGroupTable" style="height: 100%"></table>
</div>
<div id="templateGroupDialog" style="display: none;">
    <form class="layui-form layui-form-pane" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">模版组编号</label>
            <div class="layui-input-block">
                <input type="text" name="code" autocomplete="off" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <button class="layui-btn" lay-submit lay-filter="id_save">保存</button>
            <button type="reset" class="layui-btn layui-btn-primary">取消</button>
        </div>
    </form>
</div>
<script type="text/html" id="operatorCol">
    <div class="layui-clear-space">
        <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-xs" lay-event="del">删除</a>
    </div>
</script>
<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/js/main.js}"></script>
<script th:src="@{/js/system/templateGroupIndex.js}"></script>
</body>
</html>
